<html>
<head><meta charset="utf-8"><title>Memory leak when building miri with custom rustc · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Memory.20leak.20when.20building.20miri.20with.20custom.20rustc.html">Memory leak when building miri with custom rustc</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="186796305"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Memory%20leak%20when%20building%20miri%20with%20custom%20rustc/near/186796305" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Christian Poveda <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Memory.20leak.20when.20building.20miri.20with.20custom.20rustc.html#186796305">(Jan 28 2020 at 16:02)</a>:</h4>
<p>Hi, I'm experiencing a really weird memory leak when compiling miri with <code>rustc</code> in master. </p>
<p>I'm creating a custom toolchain for <code>rustc</code> like this:</p>
<div class="codehilite"><pre><span></span>./x.py build src/rustc
rustup toolchain link contrib build/x86_64-unknown-linux-gnu/stage2
</pre></div>


<p>Then I'm compiling miri via:</p>
<div class="codehilite"><pre><span></span>rustup override set contrib
./miri build
</pre></div>


<p>Has someone experienced something similar in the past? I feel this might be somehow my fault but I'm not sure why. Just in case these are the <code>HEAD</code> hashes:<br>
- <code>rustc: b181835a6bacfa449f55d46764a10e25d1c471dc</code><br>
- <code>miri: 83403581bb7a2156f4752fc2d0ceef4b3ec75554</code></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>